<h6>我的任务</h6>
<% if Task.overdue.waiting.mine.any? %>
  <div class='some_tasks'>
    <h5 class='overdue'>逾期</h5>
    <%= render :partial => 'orders/tasks/detail_in_index.html', :locals => { :can_edit => false,:tasks => Task.overdue.waiting.mine} %>
  </div>
<% end %>
<% if Task.today.waiting.mine.any? %>
  <div class='some_tasks today'>
    <h5>今天</h5>
    <%= render :partial => 'orders/tasks/detail_in_index.html', :locals => {:can_edit => false, :tasks => Task.today.waiting.mine} %>
  </div>
<% end %>
<% if Task.tomorrow.waiting.mine.any? %>
  <div class='some_tasks'>
    <h5>
      明天
    </h5>
    <%= render :partial => 'orders/tasks/detail_in_index.html', :locals => {:can_edit => false,:tasks => Task.tomorrow.waiting.mine} %>
  </div>
<% end %>
<% if Task.this_week.waiting.mine.any? %>
  <div class='some_tasks'>
    <h5>
      本周
    </h5>
    <%= render :partial => 'orders/tasks/detail_in_index.html', :locals => {:can_edit => false,:tasks => Task.this_week.waiting.mine} %>
  </div>
<% end %>
<% if Task.next_week.waiting.mine.any? %>
  <div class='some_tasks'>
    <h5>
      下周
    </h5>
    <%= render :partial => 'orders/tasks/detail_in_index.html', :locals => {:can_edit => false,:tasks => Task.next_week.waiting.mine} %>
  </div>
<% end %>
<% if Task.this_month.waiting.mine.any? %>
  <div class='some_tasks'>
    <h5>
      本月
    </h5>
    <%= render :partial => 'orders/tasks/detail_in_index.html', :locals => {:can_edit => false,:tasks => Task.this_month.waiting.mine} %>
  </div>
<% end %>
<% if Task.later.waiting.mine.any? %>
  <div class='some_tasks'>
    <h5>
      随后
    </h5>
    <%= render :partial => 'orders/tasks/detail_in_index.html', :locals => {:can_edit => false,:tasks => Task.later.waiting.mine} %>
  </div>
<% end %>